<ion-modal-view>
    <ion-header-bar class="drive-title">
        <h3 class="title" style="color: #ffffff;">退单</h3>
        <button ng-click="closeCancelModal()" class="button button-clear button-light">取消</button>
    </ion-header-bar>
    <ion-content>
        <div class="list">
            <label class="item item-input">
                <span class="input-label">订单号</span>
                <input type="text" placeholder="输入要退单订单号" ng-model="cancelOrderForm.orderCode">
            </label>
            <label class="item item-input item-select">
                <div class="input-label">
                    取消类型
                </div>
                <select ng-model="cancelOrderForm.cancelflag">
                    <option value="">---请选择---</option>
                    <option value="{{type.value}}" ng-repeat="type in cancelType track by $index">{{type.label}}
                    </option>
                </select>
            </label>
            <div class="item" style="padding: 10px;">
                <div style="padding-bottom: 10px; padding-left: 6px;"><span>退单原因</span></div>
                <div>
                    <textarea style="padding: 5px; width: 100%; border: 1px solid #eeeeee; border-radius: 5px;" rows="5"
                              placeholder="输入退单原因" ng-model="cancelOrderForm.cancelreason"></textarea>
                </div>
            </div>
        </div>
        <div style="padding: 10px;">
            <button class="button button-block button-energized button-drive" ng-click="cancelOrderBtn()">确认</button>
        </div>
    </ion-content>
</ion-modal-view>